﻿
(function ($) {
    $("select.statusbox").tlStatusbox();

    $("button.remove-some-user-group:first").tlButtonGroup($("button.remove-some-user-group-item"));

    $("button.action-some-user-group:first").tlButtonGroup($("button.action-some-user-group-item"));

    $(".menu-createnew-item").tlActionMenu({
        title: "Create New...",
        classname: "menu-create-new"
    });

    $(".menu-additional-item").tlActionMenu({
        title: "...",
        classname: "menu-additional"
    });

    $("table.content-data:first")
        .find("tr.item").each(function () {
            $(this).find("button.action-group-item").tlActionGroup();
        })
        .filter("[data-id='333-333']:first").find("div.action-group:first").addClass("disabled");
})(jQuery);
